package com.zrz.controller;

import com.zrz.dao.auto.TestMapper;
import com.zrz.model.auto.TestExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @Autowired
    TestMapper testMapper;
    @RequestMapping("/test")
    public Object test(){
        TestExample testExample=new TestExample();
        testExample.createCriteria();
       return  testMapper.selectByExample(testExample);
    }
}
